projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00417fa
)
(mbsinit): Define as no-op if not available.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Dec 2001 19:05:42 +0000
(19:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Dec 2001 19:05:42 +0000
(19:05 +0000)
src/strftime.c
patch
|
blob
|
history
diff --git
a/src/strftime.c
b/src/strftime.c
index 61047bf9578af17277954f93df0c3449a72dec08..789e7ae8e91ef17dafa583366df2e6c07af0ef87 100644
(file)
--- a/
src/strftime.c
+++ b/
src/strftime.c
@@
-68,6
+68,9
@@
extern char *tzname[];
#if DO_MULTIBYTE
# if HAVE_MBRLEN
# include <wchar.h>
+# if !defined (mbsinit) && !defined (HAVE_MBSINIT)
+# define mbsinit(ps) 1
+# endif /* !defined (mbsinit) && !defined (HAVE_MBSINIT) */
# else
/* Simulate mbrlen with mblen as best we can. */
# define mbstate_t int